<template>
    <div class="view1Details">
        <!-- 头部 -->
        <div class="header">
            <x-icon type="ios-arrow-left" size="" class="icon-white" @click="$router.go(-1)"></x-icon>新增安全检查
        </div>
        <!-- 内容部分 -->
        <div class="view1Details_main2">
            <div class="view1DetailsBox2">
                <h2 @click="$router.push('./testing')">日常检查 <em><x-icon type="ios-arrow-right" size="24"></x-icon></em></h2>
                <h2 @click="$router.push('./testing')">安全检查 <em><x-icon type="ios-arrow-right" size="24"></x-icon></em></h2>
                <ul class="ul2">
                    <li class="clearfix">
                        <div class="leftDiv">
                            <h3>云南省质量技术监督综合技术检验检测基地</h3>
                            <p>(项目层级)专项检查</p>
                        </div>
                        <div class="rightDiv">
                            2018-08-22
                            <x-icon type="ios-arrow-right" size="24" class="icon-white" @click="$router.push('./view2Details')"></x-icon>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</template>
<script>
import { Datetime, Group, XButton } from 'vux'
export default {
  components: {
    Datetime,
    Group,
    XButton
  },
  data (){
      return {
          show: false,
          satrTime:'请选择',
          endTime:'请选择'
      }
  },
  methods: { 
    change1 (value) {
      console.log('change', value)
    },
    change2 (value) {
      console.log('change', value)
    },
  }
}
</script>
<style lang="less" scope>
.view1Details{
    width: 100%;
    height: 100%;
    background-color: #ebeef2;
    .header{
        width: 100%;
        height: 40px;
        line-height: 40px;
        text-align: center;
        position: relative;
        font-size: 18px;
        background: #2269ff;
        color: #fff;
        .vux-x-icon{
            fill:cornsilk;
            position: absolute;
            left: 0;
            top: 5px;
            width: 30px;
            height: 30px;
        }
    }
    .view1Details_main2{
        height: 603px;
        width: 100%;
        background-color: #ebeef2;
        .view1DetailsBox2{
            width: 100%;
            height: 603px;
            h2{
                padding: 0 10px;
                height: 60px;
                line-height: 60px;
                font-size: 16px;
                letter-spacing: 1px;
                background-color: #fff;
                border-bottom:1px solid #eee;
                em{
                    width: 100px;
                    height: 60px;
                    position: relative;
                    float: right;
                    .vux-x-icon{
                        fill:#999;
                        position: absolute;
                        right: -6px;
                        top: 16px;
                        width: 24px;
                        height: 24px;
                    }
                }
            }
            .ul2{
                margin-top: 20px;
                li{
                    padding: 10px;
                    border-bottom:1px solid #eee;
                    width: 100%;
                    background-color: #fff;
                    .leftDiv{
                        float: left;
                        width: 250px;
                        h3{
                            font-size: 16px;
                            height: 20px;
                            width: 100%;
                            line-height: 20px;
                            color: #999;
                            -webkit-line-clamp:1;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            overflow: hidden;
                        }
                        p{
                            font-size: 16px;
                            line-height: 20px;
                            margin-top: 10px;
                            color: #999;
                        }
                    }
                    .rightDiv{
                        float: right;
                        width: 100px;
                        line-height: 52px;
                        font-size: 16px;
                        color: #999;
                        .vux-x-icon{
                            fill: #999;;
                            float: right;
                            margin-top: 14px;
                            margin-right: -6px;
                        }
                    }
                }
            }
        }
    }
    .weui-cell:before{
    border-top: 0px!important;
    }
}
</style>
